Method and system for data transmission between a sensor device and an electronic device

ABSTRACT

A method for data transmission between a sensor device and an electronic device includes: broadcasting, by the sensor device, a beacon dataset and a sensor dataset associated with the beacon dataset; in receipt of the beacon dataset, determining, by the electronic device, whether to receive the sensor dataset associated with the beacon dataset; and when it is determined to receive the sensor dataset associated with the beacon dataset, operating, by the electronic device, in a scan mode so as to receive the sensor dataset associated with the beacon dataset.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority of Taiwanese Patent Application No.108111251, filed on Mar. 29, 2019.

FIELD

The disclosure relates to a mechanism for data transmission, and moreparticularly to a method and a system for data transmission between asensor device and an electronic device.

BACKGROUND

U.S. Patent Application Publication No. 2018/0060529 discloses a networktopology for an insulin pump system. In the system, a controller of aninsulin delivery device is configured to establish a first networkconnection with one or more peripheral devices, and to establish asecond network connection with a mobile computing device. The insulindelivery device is controlled to administer dosages of insulin to apatient. The peripheral devices (e.g., a blood glucose meter (BGM), acontinuous glucose monitor (CGM), etc.) are adapted to generate datarelated to blood glucose levels of the patient and to transmit the datawirelessly over the first network connection. A mobile applicationinstalled on the mobile computing device is programmed to communicatewith the controller over the second network connection. In the U.S.Publication, the first network connection and the second networkconnection are embodied using Bluetooth® low energy (BLE). After thepatient data has been transmitted from the peripheral devices to theinsulin delivery device, the first network connection may be terminated.

It is noted that in the U.S. Publication, in order to be able to receivethe patient data from multiple devices, multiple connections among thedevices may be established and terminated repeatedly.

SUMMARY

Therefore, an object of the disclosure is to provide a method for datatransmission between a sensor device and an electronic device.

According to one embodiment of the disclosure, the method for datatransmission between a sensor device and an electronic device includes:

broadcasting, by the sensor device, a beacon dataset and a sensordataset that is associated with the beacon dataset, the sensor datasetbeing generated by the sensor device and including data detected by thesensor device; in receipt of the beacon dataset, determining, by theelectronic device, whether to receive the sensor dataset associated withthe beacon dataset; and when it is determined to receive the sensordataset associated with the beacon dataset, the electronic deviceoperating in a scan mode so as to receive the sensor dataset associatedwith the beacon dataset.

Another object of the disclosure is to provide a system that isconfigured to implement the above-described method.

According to one embodiment of the disclosure, the system for datatransmission includes:

a sensor device that is configured to broadcast a beacon dataset and asensor dataset that is associated with the beacon dataset, the sensordataset being generated by said sensor device and including datadetected by said sensor device; and

an electronic device that is configured to

-   -   determine, in receipt of the beacon dataset, whether to receive        the sensor dataset associated with the beacon dataset, and    -   when it is determined to receive the sensor dataset associated        with the beacon dataset, operate in a scan mode so as to receive        the sensor dataset associated with the beacon dataset.

One effect of the disclosure is that, by using the beacon dataset todetermine whether to receive the corresponding sensor dataset, theelectronic device operates in the scan mode only when it is determinedthat the sensor dataset is to be received, and stays in the standby modethe remaining time. That is to say, while the sensor device broadcaststhe sensor data that propagates in the air, the electronic device may becapable of receiving the sensor data by switching to the scan mode. Assuch, the sensor data may be transmitted without a connection beingestablished between the electronic device and the sensor device.

In other words, in the data transmitting procedure, the electronicdevice is not required to establish a pairing and a one-to-oneconnection with the sensor device. In this manner, the power consumed bythe data transmitting procedure may be significantly reduced.

BRIEF DESCRIPTION OF THE DRAWINGS

Other features and advantages of the disclosure will become apparent inthe following detailed description of the embodiments with reference tothe accompanying drawings, of which:

FIG. 1 is a block diagram illustrating a system for data transmissionaccording to one embodiment of the disclosure;

FIG. 2 is a flow chart illustrating an encryption key transmittingprocedure of a method for data transmission according to one embodimentof the disclosure;

FIG. 3 is a flow chart illustrating a data transmitting procedure of themethod for data transmission according to one embodiment of thedisclosure; and

FIG. 4 is a logic signal diagram illustrating operations of anelectronic device during the data transmitting procedure.

DETAILED DESCRIPTION

Before the disclosure is described in greater detail, it should be notedthat where considered appropriate, reference numerals or terminalportions of reference numerals have been repeated among the figures toindicate corresponding or analogous elements, which may optionally havesimilar characteristics.

FIG. 1 is a block diagram illustrating a system for data transmissionaccording to one embodiment of the disclosure. In this embodiment, thesystem includes a sensor device 1, a plurality of electronic devices 2and a server 3.

The sensor device 1 may be embodied using a continuous glucose monitor(CGM) that is configured to detect a physiologic parameter (e.g., bloodglucose levels) associated with a test subject (e.g., a patient), andincludes a microprocessor that is configured to generate a sensordataset and a beacon dataset that are associated with each other. Oncethe sensor device 1 obtains a detected value of the physiologicparameter at a time instance, the sensor device 1 generates acorresponding sensor dataset. Each sensor dataset includes at least adetected value of the physiologic parameter detected by the sensordevice 1, and a time instance associated with the detected value(indicating a time at which the detected value was obtained). Inaddition, the sensor device 1 may further include a transmitter thatsupports Bluetooth® low energy (BLE) transmission.

In use, the microcontroller is configured to control the transmitter tobroadcast the beacon dataset and the sensor dataset that is associatedwith the beacon dataset.

Specifically, the microcontroller is configured to control thetransmitter to broadcast the beacon dataset and the sensor datasetperiodically.

In some embodiments, a plurality of detected values of the physiologicparameter associated with the test subject may have been obtained by thesensor device 1 at different time instances, respectively. In such acase, each sensor dataset generated by the microcontroller mayincorporate all previously-obtained detected values of the physiologicparameter, or a set of newest ones of the detected values of thephysiologic parameter, as of the time the sensor dataset is generated.

For example, the sensor dataset may include a number N of most recentdetected values of the physiologic parameter associated with the testsubject (N≥2), and the number N of time instances respectivelyassociated with the N number of detected values of the physiologicparameter. Each of the time instances indicates a time at which theassociated detected value of the physiologic parameter was obtained.

In one example as shown in FIG. 4 , two sensor datasets (B1 and B2) andtwo beacon datasets (A1 and A2) are generated. In this example, thebeacon dataset A1 is associated with the sensor dataset B1, and thebeacon dataset A2 is associated with the sensor dataset B2. The beacondataset A1 and the sensor dataset B1 are generated earlier than thebeacon dataset A2 and the sensor dataset B2. The sensor dataset B1 mayinclude a detected value of the physiologic parameter and a timeinstance.

After the beacon dataset A1 and the sensor dataset B1 are generated, themicrocontroller is configured to control the transmitter to broadcastthe beacon dataset A1 and the sensor dataset B1 in said order. Thebeacon dataset A1 and the sensor dataset B1 may be broadcastedrepeatedly (e.g., periodically) until another (new) detected value ofthe physiologic parameter and a corresponding time instance areobtained.

In response, the beacon dataset A2 and the sensor dataset B2 aregenerated. The sensor dataset B2 may incorporate the newly-detectedvalue of the physiologic parameter and the corresponding time instance,and the detected value and the time instance originally included in thesensor dataset B1.

After the beacon dataset A2 and the sensor dataset B2 are generated, themicrocontroller is configured to control the transmitter to broadcastthe beacon dataset A2 and the sensor dataset B2 in said order.

Each of the electronic devices 2 may be embodied using a personalcomputer (PC), a laptop, a tablet, a mobile device (e.g., a smartphone),and includes a communication module 21, a storage module 22, and aprocessor 23. In embodiments, the electronic devices 2 may be owned by asame user or different users.

The processor 23 may include, but not limited to, a single coreprocessor, a multi-core processor, a dual-core mobile processor, amicroprocessor, a microcontroller, a digital signal processor (DSP), afield-programmable gate array (FPGA), an application specific integratedcircuit (ASIC), a radio-frequency integrated circuit (RFIC), etc.

The communication module 21 may include a short-range wirelesscommunication module supporting a short-range wireless communicationnetwork using a wireless technology of Bluetooth® and/or Wi-Fi, BLE,etc., and a mobile communication module supporting telecommunicationusing Long-Term Evolution (LTE), the third generation (3G) and/or fourthgeneration (4G) of wireless mobile telecommunications technology, and/orthe like.

The storage module 22 may be embodied using one or more of a hard disk,a solid-state drive (SSD), flash memory or other non-transitory storagemedium. The storage module 22 stores a software application therein. Thesoftware application includes instructions that, when executed by theprocessor 23, causes the processor 23 to implement a number ofoperations as described in the succeeding paragraphs. In other words,the processor 23 of each of the electric devices 2 is configured toperform the operations/actions described in connection therewith in thesucceeding paragraphs.

The server 3 is configured to communicate with the electronic devices 2over a network 4 (e.g., the Internet) and is a cloud server in thisembodiment. The server 3 stores a number of user profiles, each beingassociated with a user of at least one of the electronic devices 2. Eachof the user profiles may include account information associated with anaccount of the user (e.g., an account number and a password), userinformation associated with the user, and a key that is associated withthe account. In use, each of the electronic devices 2 may be operated bya user executing an application to log into the server 3 using theaccount number and the password, and afterward, the electronic devices 2may be configured to transmit data that is associated with the accountof the user.

According to one embodiment of the disclosure, there is provided amethod for data transmission between the sensor device 1 and one of theelectronic devices 2. In this embodiment, the method is implemented bythe system of FIG. 1 , and includes an encryption key transmittingprocedure and a data transmitting procedure. It is noted that the methodmay be implemented between the sensor device 1 and any one of theelectronic devices 2, and in the following paragraphs, a representativeone of the electronic devices 2 a (which may be referred to as a targetelectronic device) is used as an example.

FIG. 2 is a flow chart illustrating steps of the encryption keytransmitting procedure, according to one embodiment of the disclosure.The encryption key transmitting procedure is implemented prior totransmission of actual data, so as to enable the sensor device 1 and theelectronic device 2 a to encrypt and decrypt the data to be transmittedusing an encryption key.

In step 201, the processor 23 of the electronic device 2 a establishes apreliminary connection between the sensor device 1 and the electronicdevice 2 a. The preliminary connection may be done when the sensordevice 1 is to be used for the first time, and may be implemented usinga peer-to-peer connection such as BLE or other wired/wirelessconnections.

In step 202, the processor 23 of the electronic device 2 a transmits anencrypted first key to the sensor device 1. In this embodiment, theencrypted first key was obtained by encrypting a first key using anencrypting algorithm. The first key may be a user-provided key inputtedby the user using the electronic device 2 a, or a key that is generatedby the electronic device 2 a or the server 3. The encrypting algorithmmay be one conforming with the Advanced Encryption Standard (AES) Instep 203, in response to receipt of the encrypted first key, themicroprocessor of the sensor device 1 decrypts the encrypted first keyusing a decrypting algorithm to obtain a second key. In this embodiment,the decrypting algorithm may be one conforming with the AES.

In step 204, the microprocessor of the sensor device 1 encrypts thesecond key using the encrypting algorithm to obtain an encrypted secondkey, and controls the transmitter to transmit the encrypted second keyto the electronic device 2 a.

In step 205, the processor 23 of the electronic device 2 a decrypts theencrypted second key using the decrypting algorithm to obtain a thirdkey.

In step 206, the processor 23 of the electronic device 2 a compares thethird key and the first key, and determines whether the third key isidentical to the first key. When it is determined that the third key isidentical to the first key, the electronic device 2 a determines thatthe sensor device 1 has obtained the first key, and the flow proceeds tostep 207. Otherwise, the electronic device 2 a determines that an errorhas occurred during the encryption key transmitting procedure, and theflow goes back to step 202. It should be noted that, when it isdetermined that the third key is identical to the first key, it may bededuced that the first key, the second key and the third key must beidentical to one another.

In step 207, the processor 23 of the electronic device 2 a terminatesthe preliminary connection between the sensor device 1 and theelectronic device 2 a after determining that the sensor device 1 hasobtained the first key (i.e., the second key).

In step 208, the processor 23 of the electronic device 2 a controls thecommunication module 21 to transmit the first key, which serves as theencryption key, to the server 3. Afterwards, the sensor device 1encrypts the sensor dataset using the second key serving as theencryption key, and the electronic device 2 decrypts the sensor datasetusing the first key serving as the encryption key.

In step 209, the server 3 stores the encryption key, and associates theencryption key with one of the user profiles that is associated with theuser of the electronic device 2 a. In this manner, the user of theelectronic device 2 a may operate another one of the electronic devices2 to log onto the server 3 to obtain the encryption key.

While in this embodiment, the encryption key transmitting procedure asshown in FIG. 2 is implemented in order to enhance the security of theencryption key, the encryption key may be directly transmitted from theelectronic device 2 a to the sensor device 1 in other embodiments. Afterthe encryption key has been transmitted, the preliminary connectionbetween the sensor device 1 and the electronic device 2 a may beterminated.

FIG. 3 is a flow chart illustrating steps of the data transmittingprocedure according to one embodiment of the disclosure. In thisembodiment, the data transmitting procedure is implemented by the systemof FIG. 1 , and may be done between the sensor device 1 and any one ofthe electronic devices 2 (e.g., the electronic device 2 a).

In step 31, after at least one sensor dataset and a corresponding beacondataset have been generated, the microprocessor of the sensor device 1controls the transmitter to repeatedly (e.g., periodically) broadcastthe beacon dataset and the sensor dataset that is associated with thebeacon dataset. Specifically, the broadcasting is implemented using BLE,and the sensor dataset broadcasted is encrypted using the encryption key(i.e., the second key) and the encrypting algorithm.

In step 32, the processor 23 of the electronic device 2 a controls thecommunication module 21 to activate the BLE communication, such thatwhen the electronic device 2 a is within a communication range of thesensor device 1, the communication module 21 is capable of receiving thebeacon dataset broadcasted by the sensor device 1.

In step 33, the communication module 21 of the electronic device 2 areceives the beacon dataset broadcasted by the sensor device 1. In someembodiments, the beacon dataset thus received is then stored in thestorage module 22.

In step 34, the processor 23 of the electronic device 2 a determineswhether to receive the sensor dataset associated with the beacon datasetreceived in step 33.

Specifically, the processor 23 of the electronic device 2 a may betriggered by the receipt of the beacon dataset to execute a procedure todetermine whether the beacon dataset has been received by the electronicdevice 2 a before, for example, by accessing the storage module 22 todetermine whether a beacon dataset already stored in the storage module22 is the same as the beacon dataset received in step 33. When thebeacon dataset stored in the storage module 22 is the same as the beacondataset received, the processor 23 may determine that the associatedsensor dataset has also been received by the electronic device 2 apreviously, and therefore is not required to be received again and thebroadcasted sensor dataset may be ignored. In such a case, the flowproceeds to step 37.

Otherwise, it is determined that the sensor dataset associated with thebeacon dataset has not been received by the electronic device 2 a beforeand therefore should be received, and the flow proceeds to step 35.

In step 35, the processor 23 of the electronic device 2 a controls thecommunication module 21 to operate in a scan mode of the BLE. It isnoted that in the scan mode, the communication module 21 is capable ofreceiving the sensor dataset currently broadcasted by the sensor device1.

In step 36, in response to receipt of the sensor dataset, the processor23 of the electronic device 2 a decrypts the sensor dataset using theencryption key (i.e., the first key) and the decrypting algorithm, andstores the decrypted sensor dataset in the storage module 22. Afterward,the flow proceeds to step 37.

In step 37, the processor 23 of the electronic device 2 a controls thecommunication module 21 to operate in a standby mode (e.g., deactivatethe BLE communication). As such, the sensor dataset is successfullytransmitted to the electronic device 2 a. Specifically, by employing theabove mechanism to transmit data, the electronic device 2 a is notrequired to establish a pairing and a peer-to-peer connection with thesensor device 1 during the data transmitting procedure. In this manner,the power consumed by the data transmitting procedure may besignificantly reduced.

It is noted that the above steps may be applied in a similar manner totransmit the sensor dataset to each of the electronic devices 2.

Referring to the example of FIG. 4 , a number n of sensor datasets and anumber n of beacon datasets are generated. The sensor device 1 controlsthe transmitter to periodically broadcast the beacon dataset Ai and thesensor dataset Bi, where i=1 to n. After the beacon dataset A1 and thesensor dataset B1 are generated, the microcontroller controls thetransmitter to broadcast the beacon dataset A1 and the sensor dataset B1in said order.

At the time instance T1, the electronic device 2 a is initially in thestandby mode (shown in the form of a logic signal at 0). When thecommunication module 21 first receives the beacon dataset A1 as atrigger to “wake up” from the standby mode (shown in the form of a logicsignal going from 0 to 1), the processor 23 determines whether thebeacon dataset A1 has been received (step 34).

At the time instance T2, the processor 23 determines that the beacondataset A1 has not been received yet, and thus controls thecommunication module 21 to operate in the scan mode of the BLE (shown inthe form of the logic signal going from 0 to 1), so as to receive thesensor dataset B1 broadcasted by the sensor device 1 (step 35).Afterward, the electronic device 2 a is switched to the standby mode(shown in the form of a logic signal going from 1 to 0).

The beacon dataset A1 and the sensor dataset B1 may be broadcastedrepeatedly (e.g., periodically) before the beacon dataset A2 and thesensor dataset B2 are generated.

At time instance T3, when the processor 23 activates the BLEcommunication of the communication module 21, the communication module21 first receives the beacon dataset A1 as a trigger, and proceeds todetermine whether the beacon dataset A1 has been received previously.

At this time, since the beacon dataset A1 has been received previously,the electronic device 2 a determines that the corresponding sensordataset B1 has also been received previously and no data transmission isneeded. Therefore, the electronic device 2 a remains in the standbymode, and no data is transmitted from the sensor device 1 to theelectronic device 2 a.

After the beacon dataset A2 and the sensor dataset B2 are generated, themicrocontroller is then configured to control the transmitter tobroadcast the beacon dataset A2 and the sensor dataset B2 in said order.

At time instance T4, the communication module 21 receives the beacondataset A2 as a trigger to “wake up” from the standby mode, and theprocessor 23 determines whether the beacon dataset A2 has been received(step 34).

At time instance T5, the processor 23 determines that the beacon datasetA2 has not been received yet, and thus controls the communication module21 to operate in the scan mode of the BLE, so as to receive the sensordataset B2 broadcasted by the sensor device 1 (step 35). Afterward, theelectronic device 2 a is switched to the standby mode.

Then, at time instance T6, the communication module 21 first receivesthe beacon dataset A2 as a trigger to “wake up” from the standby mode,and proceeds to determine whether the beacon dataset A2 has beenreceived.

At this time, since the beacon dataset A2 has already been received, theelectronic device 2 a determines that the corresponding sensor datasetB2 has also already been received and no data transmission is needed. Asa result, the electronic device 2 a is configured to remain in thestandby mode, and no data is transmitted from the sensor device 1 to theelectronic device 2 a.

It is noted that while two sets of sensor datasets and beacon datasetsare presented in the example of FIG. 4 , additional sensor dataset(s)and beacon dataset(s) may be generated at different time instances andbroadcasted by the sensor device 1.

It is noted that, since the sensor device 1 is configured to broadcastthe sensor datasets and beacon datasets, when a plurality of electronicdevices 2 are in the communication range of the sensor device 1 and areconfigured in a similar manner as the electronic device 2 a, each of theplurality of electronic devices 2 may be able to receive the sensordatasets simultaneously, and to use the encryption key to obtain thedecrypted sensor datasets.

To sum up, the embodiments of the disclosure provide a method and systemfor data transmission between the sensor device 1 and one or moreelectronic devices 2. By using the beacon dataset to determine whetherto receive the corresponding sensor dataset, the electronic device 2operates in the scan mode only when it is determined that the sensordataset is to be received, and stays in the standby mode in other timeperiods. That is to say, while the sensor device 1 broadcasts the sensordata that propagates in the air, the electronic device 2 may be capableof receiving the sensor data by switching to the scan mode. As such, thesensor data may be transmitted without a connection being establishedbetween the electronic device 2 and the sensor device 1.

In other words, in the data transmitting procedure, the electronicdevice 2 is not required to establish a pairing and a one-to-oneconnection with the sensor device 1. In this manner, the power consumedby the data transmitting procedure may be significantly reduced.

Moreover, prior to the data transmitting procedure, the electronicdevice 2 may first establish the preliminary connection with the sensordevice 1 for transmitting the encryption key thereto. Afterward, thesensor dataset to be broadcasted by the sensor device 1 may beencrypted. In such a manner, although the encrypted sensor dataset maybe received by other devices, the encrypted sensor dataset cannot bedecrypted by those devices without the encryption key and the decryptingalgorithm. As such, the data transmitting procedure may be more securewhile maintaining a low power consumption.

In the description above, for the purposes of explanation, numerousspecific details have been set forth in order to provide a thoroughunderstanding of the embodiments. It will be apparent, however, to oneskilled in the art, that one or more other embodiments may be practicedwithout some of these specific details. It should also be appreciatedthat reference throughout this specification to “one embodiment,” “anembodiment,” an embodiment with an indication of an ordinal number andso forth means that a particular feature, structure, or characteristicmay be included in the practice of the disclosure. It should be furtherappreciated that in the description, various features are sometimesgrouped together in a single embodiment, figure, or description thereoffor the purpose of streamlining the disclosure and aiding in theunderstanding of various inventive aspects, and that one or morefeatures or specific details from one embodiment may be practicedtogether with one or more features or specific details from anotherembodiment, where appropriate, in the practice of the disclosure.

While the disclosure has been described in connection with what areconsidered the exemplary embodiments, it is understood that thisdisclosure is not limited to the disclosed embodiments but is intendedto cover various arrangements included within the spirit and scope ofthe broadest interpretation so as to encompass all such modificationsand equivalent arrangements.

What is claimed is:
 1. A method for data transmission between a sensordevice and an electronic device, comprising steps of: broadcasting, bythe sensor device, a beacon dataset and a sensor dataset thatcorresponds to the beacon dataset, the sensor dataset being generated bythe sensor device and including data detected by the sensor device, thesensor dataset including at least two most recent detected values of aphysiologic parameter associated with a test subject; in receipt of thebeacon dataset, determining, by the electronic device, whether toreceive the sensor dataset that corresponds to the beacon dataset; andwhen it is determined to receive the sensor dataset that corresponds tothe beacon dataset, operating, by the electronic device, in a scan modeso as to receive the sensor dataset that corresponds to the beacondataset; wherein: the step of broadcasting a beacon dataset and a sensordataset is to periodically broadcast the beacon dataset and the sensordataset; the step of determining whether to receive the sensor datasetthat corresponds to the beacon dataset includes determining whether thebeacon dataset has been received before by the electronic device, anddetermining to receive the sensor dataset that corresponds to the beacondataset when it is determined that the beacon dataset has not beenreceived by the electronic device before; and the sensor data istransmitted without a pairing between the electronic device and thesensor device and a one-to-one connection being established between theelectronic device and the sensor device, wherein the method furthercomprises, prior to the step of broadcasting, steps of: establishing, bythe electronic device, a preliminary connection between the sensordevice and the electronic device; obtaining, by the sensor device, anencryption key from the electronic device; and encrypting, by the sensordevice, the sensor dataset using the encryption key wherein the methodfurther comprises the following steps of; transmitting, by theelectronic device to the sensor device, and encrypted first key that wascreated by encrypting a first key using an encrypting algorithm;decrypting, by the sensor device, the encrypted first key using adecrypting algorithm to obtain a second key; encrypting, by the sensordevice, the second key using the encrypting algorithm to obtain anencrypted second key, and transmitting the encrypted second key to theelectronic device, decrypting, by the electronic device, the encryptedsecond key using the decrypting algorithm to obtain a third key;comparing, by the electronic device, the third key and the first key;when it is determined that the third key is identical to the first key,determining, by the electronic device, that the sensor device hasobtained the encryption key; terminating, by the electronic device, thepreliminary connection between the sensor device and the electronicdevice after determining that the sensor device has obtained the firstkey, encrypting, by the sensor device, the sensor dataset using thesecond key serving as the encryption key; and decrypting, by theelectronic device, the sensor dataset using the first key serving as thedecrypting key.
 2. The method of, the electronic device communicatingwith a server via a network, the server storing a user profileassociated with a user of the electronic device, the user profileincluding account information of the user, the method furthercomprising: transmitting, by the electronic device, the first key to theserver, so as to enable the server to associate the first key with theuser profile.
 3. The method of claim 1, further comprising storing thesensor dataset by the electronic device.
 4. The method of claim 1,further comprising: when it is determined not to receive the sensordataset associated with the beacon dataset, the electronic deviceoperating in a standby mode.
 5. A system for data transmissioncomprising: a sensor device that is configured to broadcast a beacondataset and a sensor dataset that corresponds to the beacon dataset, thesensor dataset being generated by said sensor device and including datadetected by said sensor device, wherein said sensor device is configuredto generate the sensor dataset to include at least two most recentdetected values of a physiologic parameter associated with a testsubject; and an electronic device that is configured to determine, inreceipt of the beacon dataset, whether to receive the sensor datasetthat corresponds to the beacon dataset, and when it is determined toreceive the sensor dataset that corresponds to the beacon dataset,operate in a scan mode so as to receive the sensor dataset thatcorresponds to the beacon dataset; wherein: said sensor device isconfigured to periodically broadcast the beacon dataset and the sensordataset; said electronic device is configured to determine whether thebeacon dataset has been received by said electronic device before, anddetermine to receive the sensor dataset that corresponds to the beacondataset when it is determined that the beacon dataset has not beenreceived by said electronic device before; the sensor data istransmitted without a pairing between the electronic device and thesensor device and a one-to-one connection being established between saidelectronic device and said sensor device; said electronic device isconfigured to establish a preliminary connection between said sensordevice and said electronic device; said sensor device is configured to,in response to an encryption key from said electronic device, encryptthe sensor dataset using the encryption key; said electronic device isconfigured to transmit, to said sensor device, and encrypted first keythat was created by encrypting a first key using an encryptingalgorithm; said sensor device is configured to decrypt the encryptedfirst key using a decrypting algorithm to obtain a second key, toencrypt the second key using the encrypting algorithm to obtain anencrypted second key, and to transmit the encrypted second key to saidelectronic device; said electronic device is configured to decrypt theencrypted second key using the decrypting algorithm to obtain a thirdkey, and to compare the third key and the first key; said electronicdevice is configured to, when it is determined that the third key isidentical to the first key, determine that said sensor device hasobtained the encryption key; said electronic device is configured to,after determining that said sensor device has obtained the first key,terminate the preliminary connection between said sensor device and saidelectronic device; said sensor device is configured to encrypt thesensor dataset using the second key serving as the encrypting key; andsaid electronic device is configured to decrypt the sensor dataset usingthe first key serving as the decryption key.
 6. The system of claim 5,wherein: said electronic device communicates with a server via anetwork, the server storing a user profile associated with a user ofsaid electronic device, the user profile including account informationof the user; said electronic device is configured to transmit the firstkey to the server, so as to enable the server to associate the first keywith the user profile.
 7. The system of claim 5, wherein said electronicdevice is further configured to store the sensor dataset therein uponreceipt thereof.
 8. The system of claim 5, wherein said electronicdevice is configured to, when it is determined not to receive the sensordataset associated with the beacon dataset, operate in a standby mode.